package com.bwie.kanjia.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.common.utils.PageUtils;
import com.bwie.common.utils.Query;

import com.bwie.kanjia.dao.ActDao;
import com.bwie.kanjia.entity.ActEntity;
import com.bwie.kanjia.service.ActService;


@Service("actService")
public class ActServiceImpl extends ServiceImpl<ActDao, ActEntity> implements ActService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActEntity> page = this.page(
                new Query<ActEntity>().getPage(params),
                new QueryWrapper<ActEntity>()
        );

        return new PageUtils(page);
    }

}